home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / April 96 / TRUE & FALSE < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  786 b   |  [TEXT/ttxt]

  1. Subject:     TRUE & FALSE
  2. Sent:        4/22/96 1:45 PM
  3. Received:    4/22/96 2:01 PM
  4. From:        Gary Ashcraft, ashcraft@itsnet.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. ODF Team,
  9.  
  10. For booleans, ODF defines TRUE and FALSE.  OpenDoc uses kODTrue and
  11. kODFalse.  The CW IDE indicates that true and false are boolean keywords.
  12.  
  13. I see in FWStdDef.h that TRUE = 1 and FALSE = 1; the OpenDoc class
  14. reference says that "the size of a boolean type is platform-dependant";
  15. then says that kODTrue = True and kODFalse = False.
  16.  
  17. Could you explain the reasoning for defining new booleans instead of just
  18. using the ones provided by OpenDoc?
  19.  
  20. Thanks in advance,
  21.  
  22. Gary Ashcraft         ashcraft@itsnet.com
  23. Digital Harbor
  24.  
  25.